module.exports = {
  videoUrl: {
    type: Object,
    default () {
      return {
        url: 'https://www.w3school.com.cn/i/movie.ogg'
      }
    },
    name: '视频地址',
    filedType: 'api'
  },

  videoWidth: {
    type: String,
    default: '',
    name: '视频宽度',
    filedType: 'string'
  },

  videoHeight: {
    type: String,
    default: '',
    name: '视频高度',
    filedType: 'string'
  },

  autoplay: {
    type: Boolean,
    default: false,
    name: '视频自动播放',
    filedType: 'switch'
  },

  isEcoTrnascodeing: {
    type: Boolean,
    default: false,
    name: '视频为ECO转码的m3u8视频',
    filedType: 'switch'
  },

  // ext: {
  //   type: String,
  //   default: '',
  //   name: '视频扩展名',
  //   filedType: 'string'
  // },

  // mimeType: {
  //   type: String,
  //   default: 'auto',
  //   name: '视频mimeType类型',
  //   filedType: 'string'
  // },

  // options: {
  //   type: Object,
  //   default () {
  //     return {}
  //   },
  //   name: 'videojs的option选项',
  //   filedType: 'sync'
  // },

  fileBaseUrl: {
    type: String,
    default: '',
    name: '视频文件基地址',
    nameTip: '默认为window.$twApp.fileBaseUrl',
    filedType: 'string'
  },

  ecoGatewayUrl: {
    type: String,
    default: '',
    name: 'ECO网关地址',
    filedType: 'string'
  }
}
